import React from 'react'

function handle1 () {
  console.log( '点击' )
}

export default class extends React.Component {
  constructor (props) {
    super(props)
  }

  render () {
    return (
      <div className="event">
        <button onClick={ handle1 }>点击</button>
      </div>
    )
  }
}